// 导入Vue
import Vue from 'vue';

// 导入axios并在Vue原型中添加该方法
import axios from "axios";
// axios.defaults.baseURL = '';


// 导入ElementUI
import ElementUI from 'element-ui';
import './theme/index.css';
Vue.use(ElementUI);

//导入vue-cookie
import VueCookie from 'vue-cookie';
Vue.use(VueCookie);

import router from './routes';
import App from './App.vue';
import store from './store';

// 配置Vue对象
new Vue({
    el:'#app',
    render:h => h(App),
    store,
    router
});